import httpInstance from "@/utils/http";
// 获取banner列表
export function getBannerList(params = {}) {
    const {distributionSite = '1'} = params
    return httpInstance({
        url:'/home/banner',
        params:{
            distributionSite
        }
    })
}
// 获取新鲜好物列表
export function getNewList() {
    return httpInstance.get('/home/new')
}
// 获取人气推荐列表
export function getHotList() {
    return httpInstance.get('/home/hot')
}
// 获取产品列表
export function getProductList() {
    return httpInstance.get('/home/goods')
}